package com.xtkj.superclub_entity.entity.friendsCircle;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 项目名称：superclub
 * 类 名 称：ShareReply
 * 类 描 述：TODO
 * 创建时间：2020/1/2 15:44
 * 创 建 人：xiezhiyan
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain=true)
@ToString
@TableName(value = "f_sharereply")
@ApiModel(value = "朋友圈评论回复")
public class ShareReply implements Serializable {
    @TableId(value = "reply_id",type = IdType.INPUT)
    @ApiModelProperty(name = "replyId",value = "回复id")
    private String replyId;//回复id
    @ApiModelProperty(name = "replyContent",value = "回复内容")
    private String replyContent;//回复内容
    @ApiModelProperty(name = "replyUserId",value = "回复者id")
    private String replyUserId;//回复者id
    @ApiModelProperty(name = "commentId",value = "评论id")
    private String commentId;//评论id
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "createdtm",value = "创建时间")
    private Date createdtm;//创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "updatedtm",value = "修改时间")
    private Date updatedtm;//修改时间
}